﻿using System;

namespace OOXMLGenerator.Generator.Excel
{
    internal class ExcelDateTime : ExcelElement
    {
        public ExcelDateTime(string cell, DateTime date, UInt32 numberFormatId)
        {
            Cell = cell;
            Date = date;
            NumberFormatId = numberFormatId;
        }

        public ExcelDateTime(string cell, DateTime date, UInt32 numberFormatId, ExcelFormat format)
        {
            Cell = cell;
            Date = date;
            Format = format;
            NumberFormatId = numberFormatId;
        }

        public DateTime Date { get; set; }
        public UInt32 NumberFormatId { get; set; }
    }
}
